package dockyin.action.pattern.mediator;

public class WorkerA extends AbstractWorker {
    public WorkerA(int number) {
        super(number);
    }

    @Override
    public void setNumber(int number, AbstractMediator mediator) {
        this.number = number;
        mediator.affectB();
    }
}
